package com.leyou.goods;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.cloud.openfeign.FeignClientsConfiguration;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author zqq
 * @ClassName LeyouGoodsWebApplication
 * @Description
 * @date 2020/3/16-21:25
 */
@SpringBootApplication
@EnableDiscoveryClient
@ComponentScan(basePackages = {"com.leyou.*"})
@EnableFeignClients(basePackages = {"com.leyou.*.inter"},defaultConfiguration = FeignClientsConfiguration.class)
public class LeyouGoodsWebApplication {
    public static void main(String[] args) {
        SpringApplication.run(LeyouGoodsWebApplication.class, args);
    }
}
